package homework_2.tv;

/**
 * @author 朱
 * @date 2019031821:38
 */
public class Tcl extends TV{
     public boolean cloud=false;

    public Tcl(String brand, byte size, boolean cloud) {
        super(brand, size);
        this.cloud = cloud;
    }

    @Override
     public void output(){
         if (cloud){
             output();
         }else {
             System.out.println("电视机的品牌是"+brand+",电视机的大小是："+size+"是云电视");
         }

     }
}
